package com.guaika.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guaika.reggie.entity.Permissions;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author GuaiKa
 */
@Mapper
public interface PermissionsMapper extends BaseMapper<Permissions> {
    /***
     * 清除先前的权限
     * @param empId
     */
    void clearPermissions(Long empId);

    List<String> permissionsListById(Long empId);
}
